{*
    Template file 
    @author: trungdt
    @since : Jan 29, 2011
    @version 1.0
    
    Change logs
    Jan 29, 2011 - trungdt - First create
    Feb 8, 2011  - trungdt - Move all user info panel from administration module to this module
*}
<div class="pull-box-container your-projects pull-box-390">
    <div class="pull-box-header">
        <h3>{$data->firstname} {$data->lastname}</h3>
    </div>
    <div class="pull-box-content">
        <ul class="with_icons">
            {permissions level=$smarty.const.UILEVEL_PERMISSIONS}
                {if $permissions.administrate == 1 || $permissions.approve_demand == 1}
                    <li><a class="demand-manage" href="{link module=demandmodule action='demand-manage'}">{$_TR.approve_demand}</a></li>
                {/if}
            {/permissions}
            <li><a class="my_demand" href="{link module=demandmodule action=my-demand}">{$_TR.my_demand}</a></li>
            <li><a class="changepassword" href="{link module=loginmodule action=changepass}">{$_TR.changepass}</a></li>
            <li><a class="editprofile" href="{link module=loginmodule action=editprofile}">{$_TR.edit_profile}</a></li>
        </ul>
        <div class="pull-box-links user_panel">
            <div id="logout-button" class="button small-button logout ">
                <a  href="{link module=openidmodule action=openid_logout no_src=1}">{$_TR.Title_Logout}</a>
            </div>
        </div>
    </div>
</div>
